package com.rainwood.water_authority.http.response;

import com.google.gson.annotations.SerializedName;

/**
 * @author sxs
 * @date :2020/10/29
 * @desc: 盘点物资信息
 */
public final class InventoryIssueBean {

    /**
     * code : 1
     * warn : success
     * data : {"goodsId":"n5ltsvxh8un9","number":"TX-0022","name":"物资名称","speciModel":"规格型号","unit":"米","nowKuNum":"103","cType":"inventory"}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("warn")
    private String warn;
    @SerializedName("data")
    private DataDTO data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getWarn() {
        return warn;
    }

    public void setWarn(String warn) {
        this.warn = warn;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * goodsId : n5ltsvxh8un9
         * number : TX-0022
         * name : 物资名称
         * speciModel : 规格型号
         * unit : 米
         * nowKuNum : 103
         * cType : inventory
         */

        @SerializedName("goodsId")
        private String goodsId;
        @SerializedName("number")
        private String number;
        @SerializedName("name")
        private String name;
        @SerializedName("speciModel")
        private String speciModel;
        @SerializedName("unit")
        private String unit;
        @SerializedName("nowKuNum")
        private Integer nowKuNum;
        @SerializedName("cType")
        private String cType;

        public String getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(String goodsId) {
            this.goodsId = goodsId;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSpeciModel() {
            return speciModel;
        }

        public void setSpeciModel(String speciModel) {
            this.speciModel = speciModel;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public Integer getNowKuNum() {
            return nowKuNum;
        }

        public void setNowKuNum(Integer nowKuNum) {
            this.nowKuNum = nowKuNum;
        }

        public String getCType() {
            return cType;
        }

        public void setCType(String cType) {
            this.cType = cType;
        }
    }
}
